module.exports = {
  register: function (name, password) {
    let data
    if (name === 'max' && password === '123') {
      data = {
        status: '0',
        data: {
          title: '个人中心',
          content: '欢迎进入个人中心'
        }
      }
    } else {
      data = {
        status: '-1',
        data: {
          title: '登录失败',
          content: "请输入正确的账号信息"
        }
      }
    }
    return data
  }
}